package com.person.webdemoproject2.mapper;

import com.person.webdemoproject2.pojo.Notification;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NotificationMapper {
    List<Notification> getUnreadNotifications(int userId);
    void markAsRead(int notificationId);
    void insertNotification(Notification notification);
}
